﻿<controls:MetroWindow x:Class="QuickMail.View.Windows.ConnectSettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
        Title="Setting connection properties" Height="630" Width="550" 
        FontSize="14" FontWeight="DemiBold"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner">
    <Border BorderThickness="2" BorderBrush="#41B1E1">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            
            <ContentPresenter Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" 
                              x:Name="ConnectContentPresenter" Margin="5"/>

            <Button x:Name="SwitchModeButton" Grid.Row="1" Grid.Column="0" Width="170" Height="35" Click="ChangeType_OnClick"
                    Content="Extended setup" 
                    HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="5"/>

            <Button x:Name="AcceptButton" Grid.Row="1" Grid.Column="1" Click="Accept_OnClick"
                    Height="35" Width="100" Content="Next" Margin="5"/>

            <Button Grid.Row="1" Grid.Column="2" x:Name="CancelButton" Content="Cancel" Height="35" Width="100" Margin="5" IsCancel="True"/>
        </Grid>
    </Border>
</controls:MetroWindow>
